﻿using System;
using System.Collections.Generic;
using System.Text;
using BF.Model;
using BF.Infrastructure;
using System.Linq.Expressions;

namespace BF.IBLL.BaseSystem
{
    public interface Isys_FunctionBLL
    {
        bool Add(sys_Function entity);
        bool Delete(sys_Function entity);
        bool Delete(System.Linq.Expressions.Expression<Func<sys_Function, bool>> predicate);
        bool Delete(List<string> keyList);
        string Up(string gKey,int iSort);
        string Down(string gKey, int iSort);
        sys_Function GetModelByID(string guid);
        List<sys_Function> GetList(Expression<Func<sys_Function, bool>> where, Expression<Func<sys_Function, object>> orderBy, PageModel pageModel, bool isAscending);
        List<sys_Function> GetList(Expression<Func<sys_Function, bool>> where);
        int GetRowCount(Expression<Func<sys_Function, bool>> where);
        bool Update();
    }
}
